package com.diyunapp.xilinapp.main;

import android.app.Application;

import com.diyunapp.xilinapp.R;
import com.diyunapp.xilinapp.utils.FormatConfirm;
import com.nostra13.universalimageloader.core.DisplayImageOptions;
import com.nostra13.universalimageloader.core.ImageLoader;
import com.nostra13.universalimageloader.core.ImageLoaderConfiguration;

/**
 * Created by NIDAYE on 2016/6/21.
 */
public class MyApplication  extends Application{


    @Override
    public void onCreate() {
        super.onCreate();
        //创建默认的ImageLoader配置参数
        ImageLoaderConfiguration myImageconfig = ImageLoaderConfiguration.createDefault(this);
        //Initialize ImageLoader with configuration.
        ImageLoader.getInstance().init(myImageconfig);
        FormatConfirm.setOption();
    }

}
